package com.wiken.addressservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.addressservice.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface IAddressService extends IService<Address> {
    Page<Address> getAddressAll(Page page, Address address, String token);

    boolean addAddress(Address address, String token);
    boolean updateAddress(Address address, String token);
    boolean delAddress(Address address, String token);
}
